﻿<UserControl x:Class="Gallery.MVVM.ViewBrokerSample.FileView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:apexMVVM="clr-namespace:Apex.MVVM;assembly=Apex"
             xmlns:apexControls="clr-namespace:Apex.Controls;assembly=Apex"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
            
    <Grid>
        <apexControls:PaddedGrid Rows="Auto,Auto,Auto" Columns="150,*" Padding="4">
            <TextBlock Grid.Row="0" Grid.ColumnSpan="2" Text="File Details" FontWeight="Bold" />
            <Label Grid.Row="1" Grid.Column="0" Content="Name" />
            <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Name}" />
            <Label Grid.Row="2" Grid.Column="0" Content="Description" />
            <TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Description}" />
        </apexControls:PaddedGrid>
    </Grid>
</UserControl>
